home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / touch.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  2.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. TOUCH(1L)         Misc. Reference Manual Pages          TOUCH(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      touch - change file timestamps
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ttttoooouuuucccchhhh [-acfm] [-r reference-file] [-t MMDDhhmm[[CC]YY][.ss]]
  13.      [ - d  time]  [ - -time={atime,access,use,mtime,modify}] [--
  14.      date=time] [--file=reference-file] [--no-create] [--help] [-
  15.      -version] file...
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      This manual page documents the GNU version of ttttoooouuuucccchhhh.   ttttoooouuuucccchhhh
  19.      changes the access and modification times of each given file
  20.      to the current time.  Files that do not  exist  are  created
  21.      empty.   If the first file name given would be a valid argu-
  22.      ment to the -_t option and no timestamp is given with any  of
  23.      the  -_d, -_r, or -_t options and the -- argument is not given,
  24.      that argument is interpreted as the time for the other files
  25.      instead of as a filename.
  26.  
  27.      If changing both the access and modification  times  to  the
  28.      current time, ttttoooouuuucccchhhh can change the timestamps for files that
  29.      the user running it does not own but  has  write  permission
  30.      for.  Otherwise, the user must own the files.
  31.  
  32.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  33.      -_a, --_t_i_m_e=_a_t_i_m_e, --_t_i_m_e=_a_c_c_e_s_s, --_t_i_m_e=_u_s_e
  34.           Change the access time only.
  35.  
  36.      -_c, --_n_o-_c_r_e_a_t_e
  37.           Do not create files that do not exist.
  38.  
  39.      -_d, --_d_a_t_e _t_i_m_e
  40.           Use _t_i_m_e (which  can  be  in  various  common  formats)
  41.           instead  of  the  current  time.   It can contain month
  42.           names, timezones, `am' and `pm', etc.
  43.  
  44.      -_f    Ignored; for compatibility with BSD versions of ttttoooouuuucccchhhh.
  45.  
  46.      -_m, --_t_i_m_e=_m_t_i_m_e, --_t_i_m_e=_m_o_d_i_f_y
  47.           Change the modification time only.
  48.  
  49.      -_r, --_f_i_l_e _r_e_f_e_r_e_n_c_e-_f_i_l_e
  50.           Use the times of _r_e_f_e_r_e_n_c_e-_f_i_l_e instead of the  current
  51.           time.
  52.  
  53.      -_t _M_M_D_D_h_h_m_m[[_C_C]_Y_Y][._s_s]
  54.           Use  the  argument  (months,  days,   hours,   minutes,
  55.           optional  century  and years, optional seconds) instead
  56.           of the current time.
  57.  
  58.      --_h_e_l_p
  59.           Print a usage  message  on  standard  output  and  exit
  60.  
  61.  
  62.  
  63. FSF              Last change: GNU File Utilities                1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TOUCH(1L)         Misc. Reference Manual Pages          TOUCH(1L)
  71.  
  72.  
  73.  
  74.           successfully.
  75.  
  76.      --_v_e_r_s_i_o_n
  77.           Print version information on standard output then  exit
  78.           successfully.
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. FSF              Last change: GNU File Utilities                2
  130.  
  131.  
  132.  
  133.